package com.fbs.wowo.util.common;

public class Constants {

    public static final String PARAM_TOKEN = "token";
    public static final String PARAM_USER_ID = "uuQieKeNaoId";
    public static final String PARAM_KEY = "key";
    public static final String PARAM_USER = "user";

    // 实体类型 文章视频直播等
    public static final int ENTITY_TYPE_ARTICLE = 1;    // 文章
    public static final int ENTITY_TYPE_VOICE = 2;      // 音频
    public static final int ENTITY_TYPE_ALBUM = 3;      // 专辑
    public static final int ENTITY_TYPE_LIVE = 4;       // 直播

    // 评论状态
    public static final int COMMENTS_STATUS_NORMAL = 1;
    public static final int COMMENTS_STATUS_DEL = 2;

    // 点赞状态
    public static final int LIKES_STATUS_LIKE = 1;
    public static final int LIKES_STATUS_HATE = -1;
    public static final int LIKES_STATUS_CANCEL = 0;

    /**
     * 默认头像
     */
    public static final String DefaultPortrait =
            "https://hzfengbushi.oss-cn-hangzhou.aliyuncs.com/%E9%BB%98%E8%AE%A4%E5%A4%B4%E5%83%8F.png";

    //证书模板地址
    public static final String CERTIFICATE_TEMPLATE_ADDRESS=
            "https://hzfengbushi.oss-cn-hangzhou.aliyuncs.com/%E8%AF%81%E4%B9%A6%E6%A8%A1%E6%9D%BF.png";

    public static String getURL() {
        return Property.getProperty("xidata.URL");
    }
    public static String getOssEndpointPublic() {
        return Property.getProperty("Oss.endpointPublic");
    }
    public static String getOssEndpointPrivate() {
        return Property.getProperty("Oss.endpointPrivate");
    }
    public static String getOssAccessKeyId() {
        return Property.getProperty("Oss.accessKeyId");
    }
    public static String getOssAccessKeySecret() {
        return Property.getProperty("Oss.accessKeySecret");
    }
    public static String getOssBucketName() {
        return Property.getProperty("Oss.bucketName");
    }
    public static String getEosUrl() {
        return Property.getProperty("eos.EOS_URL");
    }
    public static String getEosCreator() {
        return Property.getProperty("eos.CREATOR");
    }
    public static String getEosCreatorPriKey() {
        return Property.getProperty("eos.CREATOR_PRI_KEY");
    }
    public static String getEosChainId() {
        return Property.getProperty("eos.CHAIN_ID");
    }
    public static String getEosMongodbHost() {
        return Property.getProperty("eos.EOS_MONGODB_HOST");
    }
    public static String getEosMongodbDbname() {
        return Property.getProperty("eos.EOS_MONGODB_DBNAME");
    }
    public static String getAccessKeyId() {
        return Property.getProperty("sms.AccessKeyId");
    }
    public static String getAccessKeySecret() {
        return Property.getProperty("sms.AccessKeySecret");
    }
    public static String getSmsSignName() {
        return Property.getProperty("sms.SignName");
    }
    public static String getSmsTemplateCode() {
        return Property.getProperty("sms.TemplateCode");
    }
    public static String getRCAppKey() {
        return Property.getProperty("rc.AppKey");
    }
    public static String getRCAppSecret() {
        return Property.getProperty("rc.AppSecret");
    }
    public static String getTest() {
        System.out.println("Constants...");
        return Property.getProperty("test");
    }
}
